package com.yiboshi.rehrs.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.yiboshi.rehrs.domain.entity.IdEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author local
 * @since 2025-06-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class InviteRecord extends IdEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 邀请码被该账号使用
     */
    private String usedAccount;

    /**
     * 邀请码
     */
    private String inviteCode;

    /**
     * 邀请人
     */
    private String originAccount;

    private Integer vipDays;

    /**
     * 兑换状态，0未兑换 1已兑换
     */
    private Integer originStatus;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;

    @TableField(exist = false)
    private Integer count;


}
